<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/stack-overflow.js"></script>
<script>
test(() => {
  const request = new Request('/', {method: 'POST', body: 'hi'});
  fillStackAndRun(() => fetch(request));
}, 'stack overflow during fetch should not crash the browser');
</script>
